using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class _masterPages_MasterPageBlank : System.Web.UI.MasterPage
{

    /*
    private ActivUFRJ.Classes.Usuario.Usuario usuario;
    private void Page_Init(object sender, EventArgs e)
    {
        try
        {
            usuario = (ActivUFRJ.Classes.Usuario.Usuario)Session["Usuario"];
            if (usuario == null) Response.Redirect(ActivUFRJ.Sistema.Paginas.Default);
        }
        catch
        {
            Response.Redirect(ActivUFRJ.Sistema.Paginas.Default);
        }
        //if (Session[""] == null
    }

    protected void Page_Load(object sender, EventArgs e)
    {
        usuario = (ActivUFRJ.Classes.Usuario.Usuario)Session["Usuario"];
        lblLoginUsuario.Text = usuario.Login;
    }
     */
 
    protected void lblNowDate_Load(object sender, EventArgs e)
    {
        lblNowDate.Text = DateTime.Now.ToString("D", new System.Globalization.CultureInfo("pt-BR"));
    }

    protected void LinkButton1_Click(object sender, EventArgs e)
    {
        Session.Abandon();
        Server.Transfer("../Default.aspx");
    }
}
